<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>金陵贸易有限公司</title>
<link type="text/css" rel="stylesheet" href="style/style.css" />
    <script type="text/javascript" src="js/jquery-3.1.0.js"></script>
    <script type="text/javascript" src="js/common.js"></script>
    
</head>

<?php
header("content-type:text/html;charset=utf-8");
include "./admin/Mysql/MySqlClass.php";
$mySQL               = new Ycf\Lession\MySqlClass\MySqlClass('jinling_company', 'root', '123456');
$companyIntroduction  = $mySQL->select("company_introduction");
$product             = $mySQL->select("product", '', '', '', '0,3');
?>
<body>
<div class="header">
	<h1 class="logo" title="金陵贸易有限公司"><a href="index.php"><img src="images/logo.gif" alt="金陵贸易有限公司" /></a></h1>
    <p class="top_r"><a href="#" class="btn_i">设为主页</a><a href="#" class="btn_f">收藏本站</a></p>
</div>
<div class="nav">
	<div class="nav_left"></div>
    <ul>
     	<li class="sel"><a href="index.php">首  页</a></li>
        <li><a href="aboutUs.php">公司简介</a></li>
        <li><a href="productList.php">产品展示</a></li>
        <li><a href="info.php">行业资讯</a></li>
        <li><a href="guestbook.php">客户留言</a></li>
        <li><a href="contactUs.php" class="nobg">联系我们</a></li>
     </ul>
    <div  id="Timer" class="time"></div>
    <div class="nav_right"></div>
</div>
<div class="banner">
    <?php include "slider.php"?>
</div>
<div class="content">
	<div class="w475_l">
    	<div class="title">
        	<h2 class="cBlue fB">公司简介<b class="cGrey fn">About us</b></h2>
        </div>
        <div class="intro">
            <?php echo $companyIntroduction['companyIntroductionContent']; ?>
                <a href="aboutUs.php" class="cBlue"> 查看更多...</a>
                <div class="hackbox"></div>
        </div>
        <div class="blank10"></div>
        <div class="title">
        	<h2 class="cBlue fB">产品展示<b class="cGrey fn">Products</b></h2><span class="more"><a href="productList.php" class="cBlue"> 更多...</a></span>
        </div>
        <ul class="list_l">
            <?php foreach ($product as $row) {;?>
        	<li>
                <span class="listimg">
                    <img src="images/tran.gif" class="blank" /><a href="productInfo.php?productId=<?php echo $row['productNo']; ?>"><img src="admin/<?php echo $row['productPictureDir']; ?>" alt="<?php echo $row['productName']; ?>" /></a>
                </span>
                <span class="listtxt"><a href="productInfo.php?productId=<?php echo $row['id']; ?>"><?php echo $row['productName']; ?></a></span>
            </li>
            <?php }
;?>
        </ul>
    </div>
    <div class="w370_r">
    	<div class="title">
        	<h2 class="cBlue fB">最新公告<b class="cGrey fn">News</b></h2>
        </div>
        <?php include "sqlOption/notice.php"?>
        <div class="blank29"></div>
        <div class="title">
            <h2 class="cBlue fB">行业资讯<b class="cGrey fn">Information</b></h2><span class="more"><a href="info.php" class="cBlue"> 更多...</a></span>
        </div>
        <?php include "sqlOption/industryIfoTable.php"?>
    </div>
    <div class="hackbox"></div>
	<div class="title">
        	<h2 class="cBlue fB">友情链接<b class="cGrey fn">Links</b></h2>
    </div>
        <?php include "sqlOption/link.php"?>
</div>
<div class="footer">
    <?php include "sqlOption/footer.php"?>
</div>
</body>
</html>
